// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_PROD_TECHNIC
// * CreateDate    : 2014-06-05 18:30:21
// * Creater       : CodeSmith
// * LastChangeDate: 2014-06-05 18:30:21
// * LastChanger   : 2014-06-05 18:30:21
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class ProdTechnicTable : TableInfo
    {
		public const string C_TableName = "PROD_TECHNIC";
		
		public const string C_TECHNIC_ID = "TECHNIC_ID";
		public const string C_CREATED_BY = "CREATED_BY";
		public const string C_CREATED_DATE = "CREATED_DATE";
		public const string C_UPDATED_BY = "UPDATED_BY";
		public const string C_UPDATED_DATE = "UPDATED_DATE";
		public const string C_IS_ACTIVE = "IS_ACTIVE";
		public const string C_TECHNIC_NAME = "TECHNIC_NAME";
		public const string C_TECHNIC_CODE = "TECHNIC_CODE";
		public const string C_GROUP_ID = "GROUP_ID";
		public const string C_SEQUENCE = "SEQUENCE";
		public const string C_STATION_TYPE = "STATION_TYPE";
		public const string C_DESCRIPTION = "DESCRIPTION";
		
		public ProdTechnicTable()
        {
            _tableName = "PROD_TECHNIC";
        }
		
		protected static ProdTechnicTable _current;
        public static ProdTechnicTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new ProdTechnicTable();

            _current.Add(C_TECHNIC_ID, new ColumnInfo(C_TECHNIC_ID,"TechnicId", true, typeof(string)));
            _current.Add(C_CREATED_BY, new ColumnInfo(C_CREATED_BY,"CreatedBy", false, typeof(string)));
            _current.Add(C_CREATED_DATE, new ColumnInfo(C_CREATED_DATE,"CreatedDate", false, typeof(DateTime)));
            _current.Add(C_UPDATED_BY, new ColumnInfo(C_UPDATED_BY,"UpdatedBy", false, typeof(string)));
            _current.Add(C_UPDATED_DATE, new ColumnInfo(C_UPDATED_DATE,"UpdatedDate", false, typeof(DateTime)));
            _current.Add(C_IS_ACTIVE, new ColumnInfo(C_IS_ACTIVE,"IsActive", false, typeof(int)));
            _current.Add(C_TECHNIC_NAME, new ColumnInfo(C_TECHNIC_NAME,"TechnicName", false, typeof(string)));
            _current.Add(C_TECHNIC_CODE, new ColumnInfo(C_TECHNIC_CODE,"TechnicCode", false, typeof(string)));
            _current.Add(C_GROUP_ID, new ColumnInfo(C_GROUP_ID,"GroupId", false, typeof(string)));
            _current.Add(C_SEQUENCE, new ColumnInfo(C_SEQUENCE,"Sequence", false, typeof(int)));
            _current.Add(C_STATION_TYPE, new ColumnInfo(C_STATION_TYPE,"StationType", false, typeof(string)));
            _current.Add(C_DESCRIPTION, new ColumnInfo(C_DESCRIPTION,"Description", false, typeof(string)));
			
		}
		
		public ColumnInfo TECHNIC_ID
        {
            get { return this[C_TECHNIC_ID]; }
        }
		
		public ColumnInfo CREATED_BY
        {
            get { return this[C_CREATED_BY]; }
        }
		
		public ColumnInfo CREATED_DATE
        {
            get { return this[C_CREATED_DATE]; }
        }
		
		public ColumnInfo UPDATED_BY
        {
            get { return this[C_UPDATED_BY]; }
        }
		
		public ColumnInfo UPDATED_DATE
        {
            get { return this[C_UPDATED_DATE]; }
        }
		
		public ColumnInfo IS_ACTIVE
        {
            get { return this[C_IS_ACTIVE]; }
        }
		
		public ColumnInfo TECHNIC_NAME
        {
            get { return this[C_TECHNIC_NAME]; }
        }
		
		public ColumnInfo TECHNIC_CODE
        {
            get { return this[C_TECHNIC_CODE]; }
        }
		
		public ColumnInfo GROUP_ID
        {
            get { return this[C_GROUP_ID]; }
        }
		
		public ColumnInfo SEQUENCE
        {
            get { return this[C_SEQUENCE]; }
        }
		
		public ColumnInfo STATION_TYPE
        {
            get { return this[C_STATION_TYPE]; }
        }
		
		public ColumnInfo DESCRIPTION
        {
            get { return this[C_DESCRIPTION]; }
        }
		
		
		
	}
}

